GetGroupParameter

Gets the value of a parameter from an axis group. The returned value has to be converted to double if necessary. The parameters are defined in McGroupParameter.

Syntax

KsError GetGroupParameter(
     int Index,
     McGroupParameter ParameterNumber,
     double* Value
);

Parameters

Index [in]: the index of an axis group. Indexes are zero based. You can have up to 32 groups.

ParameterNumber [in]: a parameter in the McGroupParameter type.

Value [out]: reads the value of the parameter you picked in the McGroupParameter type.

Return value

If the function succeeds, it returns errNoError, otherwise an error code. For more information about the error code, see the KsError list.

Example

N/A

Requirements

  RT Win32
Minimum supported version 4.0 4.0
Header ksmotion.h ksmotion.h
Library KsApi_Rtss.lib KsApi.lib

See also

SetGroupParameter